package com.heima.model.article.pojo;


import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data

public class ArticleDoc {
    //articleId
    private Long id;
    //发布时间
    private Date publishTime;
    //文章布局
    private Integer layout;
    //图片路径
    private String images;
    //静态化页面路径
    private String staticUrl;
    //文章作者的ID
    private Long authorId;
    //文章作者名称
    private String authorName;
    //标题
    private String title;
    //文本内容
    private String content;
    //标签
    @JsonIgnore
    private String labels;

    private List<String> suggestion;
}